package com.travel.server.manager.dto.response.data;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.List;

/**
 * @Author: LiZhenhui
 * @Date: 2018/12/14 18:32
 * @Desc:
 */
@Data
public class QueryPageDataResponse {

    private String visit;

    private String browser;

    @JSONField(name = "commodity_visit")
    private String commodityVisit;

    @JSONField(name = "commodity_expose")
    private String commodityExpose;

    @JSONField(name = "commodity_browser")
    private String commodityBrowser;

    @JSONField(name = "page_list")
    private List<PageItem> pageList;

    @JSONField(name = "visit_area_list")
    private List<VisitAreaItem> visitAreaList;

    @Data
    public static class PageItem{

        private String name;

        private String type;

        private String browser;

        private String expose;

        private String visit;

    }

    @Data
    public static class VisitAreaItem{

        private String num;

        private String area;

        private String browser;

        private String visit;

        @JSONField(name = "commodity_browser")
        private String commodityBrowser;

        @JSONField(name = "commodity_visit")
        private String commodityVisit;
    }
}
